<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01JS的三种位置</title>
</head>
<body>
    <button onclick="alert('请先登录！')">点击即玩</button>
    <button onblur="console.log('点我干嘛')">点击</button>

    <script>
        console.log('你好星期六')
    </script>
    <!-- 引入JS文件-->
    <script src="01.js">
        console.log('手上少时诵诗书')
    </script>
</body>
</html>